package com.lecture.hibernate.pojo;

import java.sql.Date;;

/**
 * AbstractMessagebox entity provides the base persistence definition of the
 * Messagebox entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractMessagebox implements java.io.Serializable {

	// Fields

	private Integer msId;
	private Teacher teacher;
	private Student student;
	private String msTitle;
	private String msContent;
	private Date msDate;
	private String msRemark;
	private Integer msStatus;

	// Constructors

	/** default constructor */
	public AbstractMessagebox() {
	}

	/** full constructor */
	public AbstractMessagebox(Teacher teacher, Student student, String msTitle,
			String msContent, Date msDate, String msRemark,
			Integer msStatus) {
		this.teacher = teacher;
		this.student = student;
		this.msTitle = msTitle;
		this.msContent = msContent;
		this.msDate = msDate;
		this.msRemark = msRemark;
		this.msStatus = msStatus;
	}

	// Property accessors

	public Integer getMsId() {
		return this.msId;
	}

	public void setMsId(Integer msId) {
		this.msId = msId;
	}

	public Teacher getTeacher() {
		return this.teacher;
	}

	public void setTeacher(Teacher teacher) {
		this.teacher = teacher;
	}

	public Student getStudent() {
		return this.student;
	}

	public void setStudent(Student student) {
		this.student = student;
	}

	public String getMsTitle() {
		return this.msTitle;
	}

	public void setMsTitle(String msTitle) {
		this.msTitle = msTitle;
	}

	public String getMsContent() {
		return this.msContent;
	}

	public void setMsContent(String msContent) {
		this.msContent = msContent;
	}

	public Date getMsDate() {
		return this.msDate;
	}

	public void setMsDate(Date msDate) {
		this.msDate = msDate;
	}

	public String getMsRemark() {
		return this.msRemark;
	}

	public void setMsRemark(String msRemark) {
		this.msRemark = msRemark;
	}

	public Integer getMsStatus() {
		return this.msStatus;
	}

	public void setMsStatus(Integer msStatus) {
		this.msStatus = msStatus;
	}

}